Part Number Hot Search : 
2N440 M1Z10 C1608C0G CA3082M IRFNJ540 XMEGAA1 B2912BT1 GPC130A
Product Description
Full Text Search
 

To Download AT2004 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Atelic Systems, Inc.
AT2004 Application Note Preliminary 4 Channels ADPCM Processor with Echo Cancellation and Conferencing Version 1.0 January 29, 2001 Description
The AT2004 is a four full-duplex channels, ADPCM processor with conferencing and echo cancellation capabilities. It follows the G.726 ITU Standard for ADPCM compression for 40k, 32k, 24k and 16k bitrates with selectable -law and Alaw input/output. It conforms to ITU G.165/G.168 Digital Adaptive Echo Canceller specification for line echo delay up to 20ms. Using the command serial interface, each individual half-channel can be independently configured for ADPCM, conferencing and echo canceling features.
Features
* * * * * * * * * 4 full channels of ITU G.726 ADPCM 4 full channels of ITU G.165/G.168 complia nt echo cancellation with up to 20ms echo delay Fast and robust convergence for adaptive echo canceller, even in the presence of background noise Nonlinear processing with adaptive suppression threshold and comfort noise generation for echo canceller Per channel selectable -Law and A-law input/output On-chip time slot assignment Available internal clock generator and frame sync. generator Simple 3-wire serial command port for chip configuration Conferencing capabilities for up to 3 additional sound sources
Applications
* * * * DECT VoIP / VoDSL Wireless telephone systems Wireless PBX systems
Default Settings
* * * * * * 4 channels of -law PCM input on Xin in time slot 0, 1, 2, 3 4 channels of the corresponding ADPCM output at 32kbps on Xout in time slot 0, 1, 2, 3 4 channels of ADPCM input at 32kbps on Yin in time slot 0, 1, 2, 3 4 channels of corresponding PCM -law output on Yout in time slot 0, 1, 2, 3 Echo cancellation enabled for four channels Conferencing disabled
Note: To change the default settings, commands could be sent through the 3-wire interface.
Page 1 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
PIN Description
PIN 16 20 27 25 SYMBOL XIN XOUT YIN FSY TYPE I O I I/O
DESCRIPTION
X Channel Data In. Sampled on the falling edge of CLKP during selected time slots with MSB first. X Channel Data Out. Updated on the rising edge of CLKP during selected time slots with MSB first. Y Channel Data In. Sampled on the falling edge of CLKA during selected time slots with MSB first. Y Channel Frame Sync. Master Y Channel Frame Sync. Signal followed by the first time slot of transmission. It can be either input or output by initial setup sequence. Y Channel Data Out. Updated on the rising edge of CLKA during selected time slots with MSB first. Reset. Low active signal to force chip reset. Crystal In & Out. 14.318 MHz Crystal connected. PCM Clock. It can be either input created by external control circuit, or output generated by internal control circuit. ADPCM Clock. It can be either input created by external control circuit, or output generated by internal control circuit. Sync 1. Frame sync. for 1st CODEC. Sync 2. Frame sync. for 2nd CODEC. Sync 3. Frame sync. for 3rd CODEC. Sync 4. Frame sync. for 4th CODEC. TM1 &TM0 . Tie to Ground for normal operation. A1 & A0. Address ID key for 3-wire serial port. If match, 3-wire serial port can be enabled for configuration. Serial Data In. Data for configuration on the fly by 3-wire serial port. Sampled on the rising edge of SCLK with LSB first. Serial Data Out. Output data after sending Read Memory command by 3-wire serial port. Sampled on the rising edge of SCLK with LSB first. Serial Clock. Used to write to the 3-wire serial port registers or output data from 3-wire serial port registers. Serial Port Chip Select. Low active to enable 3-wire serial port. Power. 3.3 Volts. Ground. 0 Volt.
24 2 13 12 17 26 18 15 11 10 4 3 7 6 22
YOUT RSTZ XTAL1/MCLK XTAL2 CLKP CLKA SYNC1 SYNC2 SYNC3 SYNC4 TM1 TM0 A1 A0 SDI/SDO
O I I O I/O I/O O O O O I I I I I/O
21 23 28 14 19
SCLK SCSZ VDD Vss1 Vss2
I I -
For clock source other than 14.318MHz, please contact Atelic Systems.
Page 2 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
AT2004 PIN Assignment
AT2004 SOP Pin Assignment
28-PIN SOP
NC RSTZ TM0 TM1 NC A0 A1 NC NC SYNC4 SYNC3 XTAL2 XTAL1 VSS1
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 27 26 25 24 23 22 21 20 19 18 17 16 15
VDD YIN CKLA FSY YOUT SCSZ SDI/SDO SCLK XOUT VSS2 SYNC1 CLKP XIN SYNC2
1. 2.
When there are multiple AT2004 used on the same system, A1, A0 are used to identify the chip. A1, A0 are for chip ID. Values are from 00 to 03. They should be connected to microcontroller I/O line or hard wired to either VCC or ground.
Page 3 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
AT2004 Function Block Diagram
Conferencing up to 3 sources LawP
LawA Linear to Law Gain ADPCM Encoder ADPCM Reset M U X
ADPCM Bypass
Channel Bypass
3 EC Reset
8-bit PCM
Law to Linear EC Reset Echo Canceller**
M U X
M U X
ADPCM Signal
M U X
ADPCM Reset
ADPCM Reset
8-bit PCM
M U X
Linear to Law
Gain
Law to Linear
M U X
M U X
ADPCM Decoder
ADPCM Signal
LawP Channel Bypass **Please refer to the next page
3 Conferencing up to 3 sources
ADPCM Bypass
LawA
Page 4 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Echo Canceller Block Diagram: Comfort Noise NLP_flag EC Bypass
Dc_rmv
DC Remover
NLP
M U X
-
Stepsize Adaptive Filter
Double Talk Detector
Freeze
Narrow Band Signal Detector
Tone_flag
Dc_rmv
DC Remover
Disabling Tone Detector
No. 5, 6, 7 Signalling Tone Detector
Note: * A dotted line with arrow mark indicate the control bit in the per channel control command, such as LawP, EC reset, LawA, ADPCM bypass, ADPCM reset, Channel bypass, Dc_rmv, Comfort noise, NLP_flag, EC bypass, Stepsize, Freeze and Tone_flag. Please refer to page 10, 11 and 12 for detail information. Only one full channel is shown. AT2004 has additional capability to process up to 4 full channels simultaneously.
*
Page 5 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Power
The AT2004 is powered by a 3.3 V source and draws 100 mA at full operation and < 1 mA in powerdown mode.
Initialization
There are two different classes of resets available on the AT2004 chip. For the default reset, hold the RSTZ pin low for 50 ms. This reset will bring the chip to a functioning default state. In the default state, the following parameters are set: 1. Pins FSY, CLKP, CLKA default to input (chip will receive these signals from external source) 2. 4 channels of 32k -law ADPCM decoder running on channels 0-3 3. 4 channels of 32k -law ADPCM encoder running on channels 4-7 4. 4 echo canceling-pairs defined as follows: a. Channel 0 as reference for channel 4 b. Channel 1 as reference for channel 5 c. Channel 2 as reference for channel 6 d. Channel 3 as reference for channel 7 5. No Conferencing is selected A second type of reset involving the use of the 3-wire serial interface can also be used direct the pin I/O configurations of FSY, CLKP, and CLKA during reset.
Page 6 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Chip ID Setup
The two Chip ID pins A0 and A1 (Pins 6,7) should also be set during chip initialization. The "Chip ID" is used to differentiate between AT2004 chips in a system that uses more than one AT2004 chip. When using only one chip, it is recommended to tie A0 and A1 to digital zero. Thus, when programming the AT2004 chip, you can use the Chip ID = `00' to substitute wherever you see A1, A0. The maximum number of AT2004 can be used in a system is 4, and a chip ID must be assigned to each AT2004 in a system. The format of A0 and A1 should be specified according to the following table: A1 0 0 1 1 A0 0 1 0 1 Description AT2004 chip ID=0 AT2004 chip ID=1 AT2004 chip ID=2 AT2004 chip ID=3
Programming the AT2004 Using the Serial Port to Input Commands
Commands for the AT2004 are entered using the 3-wire Serial Interface. The "three wires" refer to the three pins which control the interface: SDI/SDO (Serial Data In/Serial Data Out), SCLK (Serial Clock), and SCSZ (Serial Chip Select). When SCSZ is enabled (low), the SDI is sampled every SCLK signal. Sampled bits are collected into an 8-bit register and read by the DSP. The SCSZ signal can be held more than 8-bits at a time in 8-bit multiples forming a COMMAND SEQUENCE. Different command sequences form the bulk of AT2004 programming.
Generic 3-byte Command Sequence
Byte 1 Byte 2 Byte 3
SDI
LSB
B1
B2
B3
B4
B5
B6
B7
SCLK
SCSZ
Command Sequence Overview
The AT2004 understands five different types of command sequences. 1. The PLL command sequences sets the operating speed of the chip. 2. The MCU7byte command sequence set the ADPCM algorithms, bit-slots, delay and EC's reference channel number. 3. The Per Channel Control command sequence sets the echo canceling options and other options in the chip. 4. The Conferencing command sequence sets the conferencing channels.
Page 7 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
5. a. This command sequence also adjusts gain control Chip Power-up and Power-down commands.
PLL Command Sequence
The PLL Command Sequence is a 3-byte command sequence that sets the operating speed of the AT2004 to be a multiple of the input crystal Mhz.
Format of PLL Command Sequence 1 F3 F2 F1 F0 A1 A0 Byte 1 0 Byte 2 N6 N5 N4 N3 N2 N1 N0 M5 Byte 3 M4 M3 M2 M1 M0 P2 P1 P0
A[1:0] refers to the chip ID (please refer to section talking about chip ID) N[6:0] = n, binary number used for frequency multiplier M[5:0] = m, binary number used for frequency divider P[2:0] = table specialized frequency divider (please refer to table). F[3:0] = Divider for CLKP & CLKA Generator. f(CLKA/CLKP) = f(XTAL) / F[3:0]
Table for P, frequency multiplier
P=0 P=1 P=2 P=3 P=4 P=5 P=6 P=7 Bypass, PLLclk = XTALclk regardless of N, M. 16 8 4 2 1 No PLLclk, PLLclk = 0 Hz (chip disabled!) No PLLclk, PLLclk = 0 Hz (chip disabled!)
The system clock uses N, M, and P to determine the speed of the system clock using the following formula: System Clock = (Crystal_clk * N * 4) / (M * P) By default, the chip is set to run at 86 Mhz using a 14.3 Mhz crystal input.
MCU7byte Command Sequence
This command sequence allows the user to specify the ADPCM algorithm, I/O bit-slots, delay and EC's reference channel number. The command sequence length is variable, and is dependent on the number of channels that are specified. The command sequence consists of a header byte, a data portion consisting of 7 bytes for every channel specified, and a footer byte. The total number of bytes in the command sequence will be 2+7N where N = number of half channels specified. The channels should be sorted by the user in increasing order of `Input Begin Bit'. All the YIN channels should be placed in sorted order before all the XIN channels. Below is a sample of MCU7byte command sequence for two `half channels'.
Page 8 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Command Byte [7:0] 0 0 0 0 A1 A0 Conf_ind ADPCM_ind EC ref. chan. # 1 Delay (ms) Input Begin Bit Input End Bit Output Begin Bit Output End Bit Conf_ind ADPCM_ind 0 0 1 1 Rate Description Chip Setup Command Header with A1, A0 chip ID Channel In/Out source, Conferencing/ADPCM indicator and EC's reference Channel #. ADPCM, configuration command for Channel #0 Specify delay for EC, should be multiple of 2ms These commands specify the begin and ending bits of input data and output data for channel #0
0 0 In/Out 0 Chan 0 Data Dec
In/Out 0 Dec
0
0
0
0
1 11 Rate Delay (ms) Input Begin Bit Input End Bit Output Begin Bit Output End Bit 1 1 1 1 11 1 1 Footer of Chip Setup. Note: The format of data fields In/Out, Conf_ind, ADPCM_ind, EC ref. Chan. #, Dec, Rate and Delay are specified below. In/Out 00 01 10 11 Default: Chan 1 Data Description Input on Xin, Output on Xout Input on Xin, Output on Yout Input on Yin, Output on Xout Input on Yin, Output on Yout Input is on Xin, Output is on Xout for ADPCM encoding functions. Input is on Yin, Output is on Yout for ADPCM decoding functions.
Channel In/Out source, Conferencing/ADPCM indicator and EC's reference Channel #. ADPCM, configuration command for Channel #1 Specify delay for EC, should be multiple of 2ms These commands specify the begin and ending bits of input data and output data for channel #1
Description No resource is allocated for conferencing operation 1 Allocate resource for conferencing operation Default: 0, no resource is allocated for conferencing Description No resource is allocated for ADPCM operation 1 Allocate resource for ADPCM operation Default: 1, allocate resource for ADPCM operation "EC ref. Chan. #" specifies the channel number from which the echo canceller derives its reference signal. Dec 0 1 Description ADPCM (Input is PCM, Output is ADPCM) encode channel ADPCM (Input is ADPCM, Output is PCM) decode channel ADPCM_ind 0
Conf_ind 0
Page 9 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Default: 1 for channel 0, 1, 2, 3; 0 for channel 4, 5, 6, 7. Rate Description 0 0 16k ADPCM bitrate 0 1 24k ADPCM bitrate 1 0 32k ADPCM bitrate 1 1 40k ADPCM bitrate Default: 10 for 32k ADPCM bit-rate By default, 8 half-channels are specified. The first 4 half-channels are configured as ADPCM decode and the second 4 half-channels are configured as ADPCM encode. "Delay" specifies the echo delay in unit of ms. A nonzero "delay" means AT2004 will allocate system resource to this channel to perform echo cancellation. All nonzero "delay" should be at least 8ms and be an even number.
Per Channel Control Command Sequence
The Per Channel Control command sequence allows the user to specify lots of parameters for each half channel. The command sequence length is variable, and is dependent on the number of channels that are specified. The format of the command consists of a header, a begin channel number byte, and a data portion containing information of each channel. The total number of bytes in the command sequence will be 2+2N where N = number of half channels specified. Below is a sample of Per Channel Control command sequence for two half channels. Command Byte [7:0] 1 0 Description Per Channel Control command Header with A1, A0 chip ID To begin on first channel, set to 0 Configuration for channel 0
0
0
1
0
A1
A0
Channel Configuration Begin
High Channel Stepsize2 Stepzise1 Comfort Comfort Dc_rmv NLP_flag Freeze Byte Bypass Noise2 Noise1 Ch0 Low EC Tone_flag EC ADPCM ADPCM LawA LawP Idle Byte bypass Reset Reset Bypass High Channel Stepsize2 Stepzise1 Comfort Comfort Dc_rmv NLP_flag Freeze Configuration for channel 1 Byte Bypass Noise2 Noise1 Ch1 Low EC Tone_flag EC ADPCM ADPCM LawA LawP Idle Byte bypass Reset Reset Bypass Note: The format of each data fields like channel bypass, stepsize2, stepsize1, comfort noise2, comfort noise1, dc_rmv, NLP_flag, freeze, EC bypass, tone_flag, EC reset, ADPCM reset, ADPCM bypass, lawA, lawP and idle, are specified below. Channel Description bypass 0 Normal operation 1 Totally bypass, output is same as input Default: 0 When channel bypass bit is set, the output of the channel will be derived directly from the input instead of from normal operation's output. Note that the normal operation of the channel is still performed according to the programmed operation for each individual function in the channel.
Page 10 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Stepsize2/Stepsize1 Description 0 0 Gain is +3dB of normal case 0 1 Normal case (default setting) 1 0 Gain is -3dB of normal case 1 1 Gain is -6 dB of normal case Default: 01 for normal case. Stepsize control the adaptation speed of adaptive filter. Default setting is the empirically chosen optimal setting. Reduce the stepsize will make echo canceller more stable (robust), however, it will take longer time to converge. Increase the stepsize will have opposite effect.
Comfort_noise2/Comfort_noise1 Description 0 0 No comfort noise generation 0 1 Pseudo random noise 1 0 Noise generated by clipping 1 1 Not defined Default: 10 for noise generated by clipping. AT2004 supports two comfort noise generation schemes. One is by generating pseudo random noise with energy matched to the energy of background noise. The other one is by clipping the signal to the level of background noise. The later one is chosen as default setting because it sounds subjectively better.
Dc_rmv Description 0 Disable Dc remover 1 Enable Dc remover Default: 1
NLP_flag Description 0 Disable NLP processing 1 Enable NLP processing Default: 1 NLP (Non Linear Processing) is to block the small amount of residual echo which may be still audible. When NLP is enabled, user can further enable or disable comfort noise generation. When NLP is disabled, there will be no comfort noise generation. Freeze Description 0 Normal operation 1 Coefficient of adaptive filter is frozen (no adaptation) Default: 0 EC bypass 0 1 Description
Normal operation of echo cancellation Echo canceller's output is derived directly from dc remover output Default: 0
Tone_flag 0 1 Default: 1
Description Disable tone detection Enable tone detection
Page 11 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
EC Description reset 0 Normal operation without reset of echo cancellation 1 Reset echo canceller internal states, the output of echo canceller is "0" Default: 1
ADPCM Description reset 0 Normal operation without reset of ADPCM 1 Reset ADPCM internal states Default: 1 When ADPCM reset bit is `1', ADPCM encoder will output "ff", ADPCM decoder will output "ff" for u-law and "d5 " for A-law. ADPCM Description bypass 0 Normal operation with ADPCM 1 Bypass ADPCM Default: 0
LawA Description 0 ADPCM side u-law 1 ADPCM side A-law Default: 0
LawP Description 0 PCM side u-law 1 ADPCM side A-law Default: 0 Description Normal operation The output is tri-state during its time slot. Once this bit is cleared, it will come back to normal operation Default: 0 Idle 0 1
Conferencing Command Sequence
The Conferencing Command Sequence allows the user to specify up to three different conferencing sources for conferencing with the current channel. Conferencing Command Sequences length is variable, and is dependent on the number of channels that are specified. The format of the conferencing command consists of a header, a begin channel number byte, and a data portion containing conferencing command reference pair information. The data portion also contains information for Gain control configuration. A sample 4 `half-channel' conferencing command is given below.
Page 12 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
0 Ch0 Ch1 Ch2 Ch3 Command Byte[7:0] 0 1 0 0 0 A1 A0 Channel Configuration Begin Gain Conf. Mode Chan #1 Chan #2 Chan #3 Gain Conf. Mode Chan #1 Chan #2 Chan #3 Gain Conf. Mode Chan #1 Chan #2 Chan #3 Gain Conf. Mode Chan #1 Chan #2 Chan #3 Description Conferencing Header & Chip ID To begin on first channel, set to 0 Conferencing command for channel 0 Conferencing command for channel 1 Conferencing command for channel 2 Conferencing command for channel 3
Note: Chan #1, Chan #2 and Chan #3 are channel number of conferencing resource with current channel. The format of data fields gain and conf. mode are specified below. The Gain of the channel is set according to the following table: Gain[1:0] Description 0 0 Gain = 0dB 0 1 Gain = +6dB 1 0 Gain = -12dB 1 1 Gain = -6dB Default: gain is set to 0dB. The Conf. mode of the channel is set according to the following table: Conf. mode[1:0] 0 0 0 1 1 0 1 1 Description Disable conferencing One channel (specified by Chan #1) is used for conferencing Two channels (specified by Chan #1, Chan #2 ) is used for conferencing Three channels (specified by Chan #1, Chan #2, Chan #3) is used for conferencing
Chip Power-up Power-down command
The chip power-up / power-down command is a single command byte which enables and disables the AT2004 chip. Power-up chip mode will: 1. Stop the sample processing 2. Power-up the PLL to the specified multiplier frequency 3. Reset algorithms on the chip. Power-down chip mode will: 1. Stop the sample processing. 2. Switch the system clock to the power down clock running approximately at 125 Hz.
0
0
0
1
0
0
A1
A0
Power-up Chip Command
0 0 0 0 1 0 A1 A0 Power-down Chip Command Note: A1, A0 refers to the chip ID.
Page 13 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Reference Designs and Additional Notes Sample Usage of Echo Canceling
Echo Cancellation Configuration
X -12 ~ -38dBm Echo -12 ~ -17dBm Far end talker -9 ~ -35dBm
RxF
ADC
yx
+
+
rh EC
u
hybrid
ERL (-6 ~ -11dB)
u y TxF DAC y Near end talker
Combo
AT2004
Note: EC: echo cancellation ERL: echo return loss ADC: analog to digital conversion DAC: digital to analog conversion
Page 14 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Using the AT2004 with other combo chips
AT2004 DX DR Combo 0
XIN(16) FSY(25) SYNC.1(18) YOUT(24) CLKP(17)
Combo 1
SYNC2(15)
(20)XOUT
CLKA
(27)YIN
Combo 2
SYNC3(11) TM1
TM0
Combo 3
SYNC4(10)
SDI
SCLK
SCSZ
Note: SDI, SCLK, SCSZ are for 3-wire commands and should be connected to microcontroller I/O pins. CLKA and FSY. Typical application of default setting uses National single channel Combo (Quad Combo can be used to replace the 4 single Combo) When there are multiple AT2004 used on the same systems, A1, A0 are used to identify the chip. A1, A0 are for chip ID. Values are from 00-03. They should be connected to microcontroller I/O lines or wired to either VCC or ground.
Page 15 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Conferencing Diagram
Samples of Conferencing Configurations
+
PCM input signal
E
ADPCM output signal
E=ADPCM encoder
Up to 3 more input signals
ADPCM input signal
D D D D
+
PCM output signal
D=ADPCM decoder
Page 16 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Sample Command Sequences: ADPCM, conferencing, echo canceling, 32k, -Law, 8-half channels:
For convenience, each half duplex channel is assigned a number corresponding to the internal processing order of the channels. Channels 0 through Channel 3 correspond with ADPCM decode channels and Channels 4 through Channel 7 corresponds with ADPCM encode channels. The following is brief description of what each half duplex channel is running: Channel 0: (decode ADPCM channel) Conferencing: Conferencing Disabled. Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Channel 0 is a decode channel, thus output value is saved as a reference sample. Delay (0) MCU7byte Command: * Decode (i.e. input is ADPCM sample sequence) * u-Law output, 32k ADPCM algorithm. * Input time slot: @yin[0:3] (beginning bit=0, ending bit=3) * Output time slot: @yout[0:7] (beginning bit=0, ending bit=7) Channel 1: (decode ADPCM channel) Conferencing: Conferencing Disabled. Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Channel 1 is a decode channel, thus output value is saved as a reference sample. Delay (0) MCU7byte Command: * Decode * u-Law output, 32k ADPCM algorithm. * Input time slot: @yin[16:19] * Output time slot: @yout[16:23] Channel 2: (decode ADPCM channel) Conferencing: Channel 0 + Channel 1 + Channel 4. (Note that conferencing always includes its own channel, in this case ch 2). Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Channel 2 is a decode channel, thus output value is saved as a reference sample. Delay (0) MCU7byte Command: * Decode * u-Law output, 32k ADPCM algorithm. * Input time slot: @yin[32:35] * Output time slot: @yout[32:39] Channel 3: (decode ADPCM channel) Conferencing: Channel 4 + Channel 5 + Channel 6 Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Channel 3 is a decode channel, thus output value is saved as a reference sample. Delay (0) MCU7byte Command: * Decode * u-Law output, 32k ADPCM algorithm. * Input time slot: @yin[48:51] * Output time slot: @yout[48:55]
Page 17 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Channel 4: (encode ADPCM channel) Conferencing: Conferencing Disabled. Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Echo canceling enabled with reference sample from Channel 0. Delay (8ms) MCU7byte Command: * Encode (i.e. output is ADPCM sample sequence) * u-Law input, 32k ADPCM algorithm. * Input time slot: @xin[0:7] * Output time slot: @xout[0:3] Channel 5: (encode ADPCM channel) Conferencing: Conferencing Disabled. Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Echo canceling enabled with reference sample from Channel 1. Delay (8ms) MCU7byte Command: * Encode (i.e. output is ADPCM sample sequence) * u-Law input, 32k ADPCM algorithm. * Input time slot: @xin[16:23] * Output time slot: @xout[16:19] Channel 6: (encode ADPCM channel) Conferencing: Channel 0 + Channel 1 + Channel 5. Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Echo canceling enabled with reference sample from Channel 2. Delay (8ms) MCU7byte Command: * Encode (i.e. output is ADPCM sample sequence) * u-Law input, 32k ADPCM algorithm. * Input time slot: @xin[32:39] * Output time slot: @xout[32:35] Channel 7: (encode ADPCM channel) Conferencing: Channel 4 + Channel 5 + Channel 0. Gain Adjustment: No output PCM gain adjustment (0 db gain). Echo Canceling: Echo canceling enabled with reference sample from Channel 3. Delay (8ms) MCU7byte Command: * Encode (i.e. output is ADPCM sample sequence) * u-Law input, 32k ADPCM algorithm. * Input time slot: @xin[48:55] * Output time slot: @xout[48:51] The following is command sequences of conferencing, per channel control and mcu7byte: Command bytes sequence specifying conferencing. 20 00 00 00 00 00 // Begin conferencing command. This byte is fixed. // This byte is fixed (usually begin specifying at channel 0). // 0 channel high byte. Conferencing is disabled. // 0 channel low byte // 1 channel high byte // 1 channel low byte
Page 18 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
30 14 34 56 00 00 00 00 30 15 34 50 // 2 channel high byte. // 2 channel low byte. // 3 channel high byte. // 3 channel low byte. // 4 channel high byte // 4 channel low byte // 5 channel high byte // 5 channel low byte // 6 channel high byte. // 6 channel low byte. // 7 channel high byte. // 7 channel low byte. Conferencing with Chan 0. Conferencing with Chan 1 and Chan 4. Conferencing with Chan 4. Conferencing with Chan 5 and Chan 6.
Conferencing with Chan 0. Conferencing with Chan 1 and Chan 5. Conferencing with Chan 4. Conferencing with Chan 5 and Chan 0.
Command bytes specifying per channel control 30 00 36 70 36 70 36 70 36 70 36 70 36 70 36 70 36 70 // Begin per channel control. This byte is fixed. // begin at 0 channel. This byte is usually fixed (usually begin specifying at 0). // 0 channel high byte. // 0 channel low byte. // 1 channel high byte. // 1 channel low byte. // 2 channel high byte. // 2 channel low byte. // 3 channel high byte. // 3 channel low byte. // 4 channel high byte. // 4 channel low byte. // 5 channel high byte. // 5 channel low byte. // 6 channel high byte. // 6 channel low byte. // 7 channel high byte. // 7 channel low byte.
Command bytes specifying mcu7byte definition. 00 D0 5E 00 00 03 00 07 D0 5E 00 10 13 10 17 F0 // begin mcu7byte definition. // [7]: input; [6]:output; 0==X; 1==Y, channel 0, yin-yout // Algorithm Setup, default value = 5EH for expand // Delay // Begin input slot bit, ADPCM // End input slot bit, ADPCM // Begin output slot bit, PCM // End output slot bit, PCM // [7]: input; [6]:output; 0==X; 1==Y, channel 1, yin-yout // Algorithm Setup, default value = 5EH for expand // Delay // Begin input slot bit, ADPCM // End input slot bit, ADPCM // Begin output slot bit, PCM // End output slot bit, PCM // [7]: input; [6]:output; 0==X; 1==Y, channel 2, yin-yout
Page 19 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
5E 00 20 23 20 27 D0 5E 00 30 33 30 37 10 1E 08 00 07 00 03 11 1E 08 10 17 10 13 32 1E 08 20 27 20 23 33 1E 08 30 37 30 33 FF // Algorithm Setup, default value = 5EH for expand // Delay // Begin input slot bit, ADPCM // End input slot bit, ADPCM // Begin output slot bit, PCM // End output slot bit, PCM // [7]: input; [6]:output; 0==X; 1==Y, channel 3, yin-yout // Algorithm Setup, default value = 5EH for expand // Delay // Begin input slot bit, ADPCM // End input slot bit, ADPCM // Begin output slot bit, PCM // End output slot bit, PCM // [7]: input; [6]:output; 0==X; 1==Y, channel 4, xin-xout // Algorithm Setup, default value = 1EH for compress // Delay // Begin input slot bit, PCM // End input slot bit, PCM // Begin output slot bit, ADPCM // End output slot bit, ADPCM // [7]: input; [6]:output; 0==X; 1==Y, channel 5, xin-xout // Algorithm Setup, default value = 1EH for compress // Delay // Begin input slot bit, PCM // End input slot bit, PCM // Begin output slot bit, ADPCM // End output slot bit, ADPCM // [7]: input; [6]:output; 0==X; 1==Y, channel 6, xin-xout // Algorithm Setup, default value = 1EH for compress // Delay // Begin input slot bit, PCM // End input slot bit, PCM // Begin output slot bit, ADPCM // End output slot bit, ADPCM // [7]: input; [6]:output; 0==X; 1==Y, channel 7, xin-xout // Algorithm Setup, default value = 1EH for compress // Delay // Begin input slot bit, PCM // End input slot bit, PCM // Begin output slot bit, ADPCM // End output slot bit, ADPCM // End of mcu7byte commands
Page 20 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Electrical Characteristics:
(0C to 70C) DC Electrical Characteristics (VDD =3.3V+20%-10%) Parameter Symbol Minimum Typical Maximum Units Notes Active Supply Current Ivcc 40 mA 1,2 Power down IVCCPD mA 3 <1 Input Leakage II -1.0 +1.0 A Output Leakage IO -1.0 +1.0 4 A Output Current (2.4V) IOH 1.2 mA Output Current (0.4 v) IOL 4 mA Notes: 1. CLKP = CLKA = 2.048MHz; MCLK = 10MHz. 2. Outputs open; inputs swinging full supply levels; 4 channel full duplex operation. 3. Power down; Xtal = high; fsy, CLKA, CLKP all 0. 4. Xout and Yout are 3-stated.
PCM Interface AC Electrical Characteristics Parameter Symbol Minimum Typical Maximum Units CLKP, CLKA Period tPXY 244 3906 ns CLKP, CLKA Pulse Width tWXYL 100 ns tWXYH CLKP, CLKA Rise Fall tRXY 10 20 ns Times tFXY Hold Time from CLKP, tHOLD 0 ns CLKA to FSY Setup Time from FSY high tSF 50 ns to CLKP, CLKA low Setup Time for Xin, Yin to tSD 50 ns CLKP, CLKA low Hold Time from Xin, Yin to tHD 50 ns CLKP, CLKA low Delay Time from CLKP, tDXYO 10 150 ns CLKA to Valid Xout, Yout Notes: 1. Maximum width of FSY is CLKP/CLKA period (except for signaling frame). 2. Measured at VIH = 2.0V, VIL = 0.8V, and 10ns maximum rise and fall times. 3. Load = 150 pF + 2LSTTL loads. 4. For LSB of PCM or ADPCM byte.
(0C to 70C) (VDD =3.3V+20%-10%) Notes 1
2 2 2 2 3
Page 21 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Master Clock/Reset AC Electrical Characteristics Parameter Symbol Minimum MCLK tP M 69.84 Period MCLK tRM, tFM Rise/Fall Times RSTZ tRST 1 Pulse Width Note: 1. MCLK = 14MHz or 10MHz. (0C to 70C) (VDD =3.3V+20%-10%) Notes 1
Typical 100
Maximum 125 10
Units ns ns ms
Serial Port AC Electrical Characteristics Parameter Symbol Minimum Typical Maximum SDI to SCLK Set Up tDC 55 SCLK Period tP 1 SCLK to SDI Hold tCDH 55 SCLK Low Time tCL 250 500 SCLK High Time tCH 250 500 SCLK Rise and Fall Time tR, tF 100 SCSZ to SCLK Setup tCC 50 SCLK to SCSZ Hold tCCH 250 SCSZ Inactive Time tCWH 250 SCLK Setup to SCSZ tSCC 50 Falling Note: 1. Measured at VIH = 2.0V, VIL = 0.8V, and 10ns maximum rise and fall time.
(0C to 70C) (VDD =3.3V+20%-10%) Units Notes ns 1 1 s ns 1 ns 1 ns 1 ns 1 ns 1 ns 1 ns 1 ns 1
Page 22 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Timing Diagrams
Master Clock/Reset AC Timing Diagram
tRM
tFM tWMH
tPM
tWML
MCLK
RST
tRST
3 Wire Timing Diagram
SCLK tSCC SCLK tCC tCH tR tCWH tF tCCH
tCWH
tCL tP tDC SDI
tCDH Note: SCLK may be either high or low when SCSZ is taken low.
Page 23 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
PCM Interface AC Timing Diagram
tPXY tHOLD CLKP CLKA tRXY tFXY tWXYH tWXYL
FSY
tHF tSF tHF tSD (MSB) tHD
FSY XIN YIN
XOUT YOUT
3-STATE
(MSB) tDXYO tDXYZ
Page 24 of 25
(c)2001 Atelic System, Inc
AT2004 4 Channels ADPCM Processor with Echo Cancellation and Conferencing
Package Information
28 Pin SOP AT2004 Package Information
D
A C
B
G
E
eB F
A B C D E eB F G Min 2.286 0.305 0.991 17.856 7.442 10.312 0.635 1.194 Normal 2.337 0.406 1.041 17.907 7.493 10.414 -1.27 Max 2.388 0.508 1.092 17.958 7.544 10.516 -1.346
Dimension in mm.
Page 25 of 25
(c)2001 Atelic System, Inc


▲Up To Search▲   

 
Price & Availability of AT2004

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X